From 4ad3ed5beb8bdd439ba71eb7c1c34f7d7c930b1b Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 8 May 2012 13:33:16 +0200 Subject: [PATCH] x86: merge .text.* into .text while linking For xen.efi, this eliminates a pointless gap between .text and .text.unlikely of almost 2Mb size. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/arch/x86/xen.lds.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index 578d24a172..939ff11f3a 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -47,6 +47,8 @@ SECTIONS .text : { _stext = .; /* Text and read-only data */ *(.text) + *(.text.cold) + *(.text.unlikely) *(.fixup) *(.gnu.warning) _etext = .; /* End of text section */ -- 2.30.2